package day06;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        System.out.println("1.猜数字");
        System.out.println("2.猜字母");
        int option = new Scanner(System.in).nextInt();
        GuessGame game;
        switch (option){
            case 1:
                game = new GuessNumberGame();
                game.start();
                break;
            case 2:
                game = new GuessLetterGame();
                game.start();
                break;
            default:
                break;
        }
    }
}
